﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.Data;
using System.Data.Common;

namespace WFinger.DALFactory
{
    public interface INavigater
    {
        string getNavigater();
        IDataReader getClassList(string parentid);
        DbDataReader getNewsList(string classid);
    }
    public sealed partial class DataAccess
    {
        public static INavigater CreateNavigater()
        {
            string className = path + ".Navigater";
            return (INavigater)Assembly.Load(path).CreateInstance(className);
        }
    }

}
